{*head部分*}
{include file='Public/head.html'}
    <div class="loginform">
    	<div class="title"> <span class="logo-text font18">博客后台管理系统</span></div>
        <div class="body">
       	  <form id="form1" name="form1" method="post" action="{$url}?p=admin&m=Privilege&a=login">
           	<label class="log-lab">用户名</label>
            <input name="account" type="text" class="login-input-user" id="textfield" value=""/>
          	<label class="log-lab">密码</label>
            <input name="pwd" type="password" class="login-input-pass" id="textfield" value=""/>
			<label class="log-lab">验证码</label>
			<div class="padding-bottom5"><img src="{$url}?p=admin&m=Privilege&a=captcha"  id="img" width="220" height="60"></div>
			<input name="captcha" type="text" class="login-input" id="textfield" value=""/>
			<label class="log-lab"><input type="checkbox" name="r_login" class="uniform" value="yes"> 7天内自动登录</label>
            <input type="submit" name="button" id="button" value="登录" class="button" />
       	  </form>
        </div>
    </div>
<script type="text/javascript">
	document.getElementById('img').onclick=function(){
	   //点击验证码 刷新
	     document.getElementById('img').src="{$url}?p=admin&m=Privilege&a=captcha&n ="+Math.random();
	}
</script>


</div>
</body>
</html>
